﻿Imports DAO

Public Class PBanHangBUS

    Shared Function themDonHang(phieuBH As DTO.PBanHangDTO) As String
        Dim maPhieu As String = PBanHangDAO.themPhieu(phieuBH)
        Return maPhieu
    End Function

    Shared Function themChiTietDH(dsChiTiet As ComponentModel.BindingList(Of DTO.ChiTietBanHangDTO), maDH As String) As Integer
        Return PBanHangDAO.themChiTietPhieu(dsChiTiet, maDH)
    End Function

End Class
